enum color {
    red,
    green,
    pink
}

console.log(color.red); //0
console.log(color[0]); //'red'

